<?php
/**
 * indexEgpusersList.php
 * 
 * @deprecated 
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* 
 * リスト表示の初期表示画面（index画面）
 * 
 * author；		tetsuya.odaka
 * date;		2009/6/2
 * 
*/
	// 前準備
	include("../Myznala/myHeader.inc.php");
	
	/*
	 * 変数定義
	 */
	// 遷移先のテンプレート名
	$myTemplate="../examples-egpusers/templates/egpusersList.tpl";

	/* テンプレートの引数をセットします */
	$myTplData = array(	'myLoginUser'=>$myLoginUser,
					'myAppName'=>'examples-egpusers',
					'myPageTitle'=>'EGPUSERS_List',
					
					'button_array'=>initButton()
	);
	
	// 後処理
	include("../Myznala/myFooter.inc.php");
		
	return;
	
	/* 
	 * ボタン初期化処理のための内部関数
	*/
	function initButton(){
		require_once('../Myznala/ButtonBean.class.php');
		
		$_bArr=array();
		// 初期画面
		$_bObj=new ButtonBean();
		$_bObj->setId("egp-my-init-button");
		$_bObj->setName("init");
		$_bObj->setSrc("../images/init_disp_ja.jpg");
		$_bObj->setAlt("初期画面");
		$_bArr[0] = $_bObj;

		// 登録
		$_bObj = new ButtonBean();
		$_bObj->setId("egp-my-entry-button");
		$_bObj->setName("entry");
		$_bObj->setSrc("../images/entry_ja.jpg");
		$_bObj->setAlt("登録");
		$_bArr[1]=$_bObj;

		// 照会
		$_bObj=new ButtonBean();
		$_bObj->setId("egp-my-show-button");
		$_bObj->setName("show");
		$_bObj->setSrc("../images/show_ja.jpg");
		$_bObj->setAlt("照会");
		$_bArr[2]=$_bObj;

		return $_bArr;
	}
?>